import {http} from '@/utils/http'

// 添加卡片
export function addCard(data:any) {
    return http.post<any>('/admin/card/addCard', data)
}

// 修改卡片
export function updateCard(data:any) {
    return http.post<any>('/admin/card/updateCard', data)
}

// 删除卡片
export function deleteCard(id:string) {
    return http.post<any>('/admin/card/deleteCard/'+id)
}

// 获取卡片详情
export function getCard(id:any) {
    return http.post<any>('/admin/card/getCard/'+id)
}

// 获取卡片分页列表
export function getCardPage(data:any) {
    return http.post<any>('/admin/card/getCardPage', data)
}





















